package com.bzy.blp.model;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.sql.Timestamp;

public class TPileRegion implements Serializable {
    private Integer id;

    @NotNull(message = "pileProjectId不能为空")
    private Integer pileProjectId;

    private String name;

    private Timestamp createTime;

    private Timestamp updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPileProjectId() {
        return pileProjectId;
    }

    public void setPileProjectId(Integer pileProjectId) {
        this.pileProjectId = pileProjectId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }
}